// 列表页面  不需要使用层级关系   其他页面也可复用
.list-page--wrap {
  height: 100%;
  // display: flex;
  // flex-direction: column;
  background: #fff;
  padding: 16px;
  overflow: auto;
  border-radius: 6px;
  .el-table {
    margin-top: 16px;
  }
  .el-table {
    tbody tr td {
      height: 35px;
    }
    .el-table__header-wrapper th, .el-table__fixed-header-wrapper th {
      height: 30px;
    }
  }
  .el-table--small .el-table__cell {
    padding: 2px 0;
  }
}

.list-page__search {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  .el-form-item {
    width: 20%;
    margin-bottom: 12px !important;
    .el-form-item__label {
      font-size: 12px;
      font-weight: 500;
    }
    .el-form-item__content {
      font-size: 14px;
    }
  }
  &.el-form--label-top {
    margin-left: -6px;
    margin-right: -6px;
    .el-form-item {
      position: relative;
      padding: 12px 6px 6px;
      margin: 0 !important;
      .el-form-item__label {
        position: absolute;
        top: 0;
        left: 10px;
        line-height: 20px;
        z-index: 1;
        padding: 0 4px;
        &::after {
          position: absolute;
          top: 11px;
          left: 0;
          content: "";
          display: block;
          background-color: #fff;
          width: 100%;
          height: 4px;
          z-index: -1;
        }
      }
    }
  }
}

.list-page__tool {
  margin-top: 12px;
}


// 详情页面 / 编辑页面
.detail-page--wrap {
  font-size: 14px;
  .el-input__inner, .el-textarea__inner {
    color: #333;
    font-size: 14px;
  }

  .el-form {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    &.el-form--label-top {
      margin-left: -6px;
      margin-right: -6px;
      .el-form-item {
        padding: 0 8px 6px;
        .el-form-item__label {
          line-height: 20px;
          padding-bottom: 6px;
        }
      }
    }
    .el-form-item {
      margin-bottom: 6px;
      width: 25%;
      .el-form-item__label {
        font-weight: 400;
      }
    }
    .v-card {
      .v-card__body {
        padding: 12px 6px;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
      }
    }
  }

  .v-card {
    margin-bottom: 16px;
    .el-table {
      .el-table__header {
        .cell {
          font-weight: 500;
        }
      }

    }
  }

  .detail-page__footer {
    margin-top: 26px;
    text-align: right;
  }
}

.list-page--wrap {
  .wrap-form,
  .wrap-table {
    background-color: #fff;
    padding: 20px;
    border-radius: 4px;
    border: 1px solid #efefef;
  }

  .list-page__tool {
    margin: 12px 0;
  }
}